<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
	<head>
		<title>top</title>
		<link href="gko100/back/css/top.css" rel="stylesheet" type="text/css" />
		<script language="javascript">
		function getCurDate()
		{
		 var d = new Date();
		 var week;
		 switch (d.getDay()){
		 case 1: week="星期一"; break;
		 case 2: week="星期二"; break;
		 case 3: week="星期三"; break;
		 case 4: week="星期四"; break;
		 case 5: week="星期五"; break;
		 case 6: week="星期六"; break;
		 default: week="星期天";
		 }
		 var years = d.getYear();
		 if(years<1900) years = years+1900;
		 var month = add_zero(d.getMonth()+1);
		 var days = add_zero(d.getDate());
		 var hours = add_zero(d.getHours());
		 var minutes = add_zero(d.getMinutes());
		 var seconds=add_zero(d.getSeconds());
		 var ndate = years+"年"+month+"月"+days+"日 "+hours+":"+minutes+":"+seconds+" "+week;
		 divT.innerHTML= ndate;
		}
		
		function add_zero(temp)
		{
		 if(temp<10) return "0"+temp;
		 else return temp;
		}
		
		setInterval("getCurDate()",100);
		
		</script>
	</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="70" background="gko100/back/images/main_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="270" height="24" background="gko100/back/images/main_03.gif">&nbsp;</td>
            <td width="505" background="gko100/back/images/main_04.gif">&nbsp;</td>
            <td>&nbsp;</td>
            <td width="21"><img src="gko100/back/images/main_07.gif" width="21" height="24"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="38"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="270" height="38" background="gko100/back/images/main_09.gif">&nbsp;</td>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="77%" height="25" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="60" height="19"><div align="center"><a href="index.html" target="_parent"><img src="gko100/back/images/main_12.gif" width="49" height="19"></a></div></td>
                    <td width="60"><div align="center"><a href="logout.action" target="_parent"><input type="image" src="gko100/back/images/main_20.gif" width="48" height="19"/></a></div></td>
                    <td width="26"><div align="center"><img src="gko100/back/images/main_21.gif" width="26" height="19"></div></td>
                    <td width="100">
                    	<div align="center">
                    		<a href="admin_find.action" target="mainFrame"><input type="image" src="gko100/back/images/main_22.gif" width="98" height="19" /></a>
                    	</div>
                    </td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
                <td width="220" valign="bottom"  nowrap="nowrap"><div align="right" id="divT" style="color:#CCCCCC; font-size:12px;"></div></td>
              </tr>
            </table></td>
            <td width="21"><img src="gko100/back/images/main_11.gif" width="21" height="38"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="8" style=" line-height:8px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="270" background="gko100/back/images/main_29.gif" style=" line-height:8px;">&nbsp;</td>
            <td width="505" background="gko100/back/images/main_30.gif" style=" line-height:8px;">&nbsp;</td>
            <td style=" line-height:8px;">&nbsp;</td>
            <td width="21" style=" line-height:8px;"><img src="gko100/back/images/main_31.gif" width="21" height="8"></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="28" background="gko100/back/images/main_36.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="177" height="28" background="gko100/back/images/main_32.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="20%"  height="22">&nbsp;</td>
            <td width="59%" valign="bottom"><div align="center" class="STYLE1">当前用户:<s:property value="#session.admin.name" /></div></td>
            <td width="21%">&nbsp;</td>
          </tr>
        </table></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <s:iterator value="cateList" id="cl">
            	<td width="65" height="28">
            		<table width="100%" border="0" cellspacing="0" cellpadding="0">
              			<tr>
               		 		<td height="23" valign="bottom">
               		 			<table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
			                  		<tr> 
			                    		<td height="20" style="cursor:hand" onMouseOver="this.style.backgroundImage='url(gko100/back/images/bg.gif)';this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#a6d0e7'; "onmouseout="this.style.backgroundImage='url()';this.style.borderStyle='none'"> 
			                    			<div align="center" class="STYLE3">
			                    				<a href="<s:property value="#cl.url" /><s:property value="#cl.cateId" />" target="leftFrame"><s:property value="#cl.name" /></a>
			                    			</div>
			                    		</td>
			                  		</tr>
                				</table>
                			</td>
              			</tr>
            		</table>
            	</td>
            	<td width="3"><img src="gko100/back/images/main_34.gif" width="3" height="28"></td>
            </s:iterator>
            
            
            
            <td>&nbsp;</td>
          </tr>
        </table></td>
        <td width="21"><img src="gko100/back/images/main_37.gif" width="21" height="28"></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
